babl_fish_reference(), create_name(): add conditional fastpath.
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 19 Aug 2016 12:23:02 +0000 (15:23 +0300)
committerØyvind Kolås <pippin@gimp.org>
Sat, 20 Aug 2016 17:26:02 +0000 (19:26 +0200)
commit204a65f737c5d2f6356fcf74e685067a2069c57b
tree34c95fb4a17897534453b153454193d9e04c48d7
parent0fe22e1e37197ef6112645bf5a136580c0927a1e
babl_fish_reference(), create_name(): add conditional fastpath.

Using __thread keyword.
Although, it is probably not universally avaliable, so this
is just conditional fastpath, if it is detected as unsupported
at compile time, the dumb implementation using malloc() is used.
babl/babl-fish-reference.c
configure.ac